package com.zgc.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test/provider")
public class TestProviderController {


    @GetMapping("/service")
    public String service() {
        String str = "provider by invoked";
        System.out.println("str = " + str);
        return str;
    }
}
